﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.SessionState;

namespace Utilities
{
    public class BaseHandler : IHttpHandler, IRequiresSessionState
    {
        public bool IsReusable
        {
            get { return false; }
           
        }
        public HttpRequest Request { get; set; }
        public HttpResponse Response { get; set; }
        public HttpContext Context { get; set; }
        public virtual void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/html";
            Request = context.Request;
            Response = context.Response;
            Context = context;
            
        }
    }
}
